package com.caht.mapper;

import com.caht.entity.Topic;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface TopicMapper {
    /**
     * 查询 文章 话题
     * @return
     */
    @Select("select * from topic")
    List<Topic> GetTopicAll();
}
